<?php error_reporting(0); ?>
<div id="footer_content">
	<br/>
	

		<?php
		require_once 'includes/objects.php';
		
		$noticias=new Noticias();
		$noticias->getUltimasNoticias(2);
		foreach ($noticias->noticias as $noticia) {
			echo "<div id='noticia' class='noticia_footer' style='margin-right:20px;color:black;font-size:14px; width:20%; float:left'>";
			echo "<h2>".$noticia->titulo."</h2></br>";
			echo "<p>".$noticia->texto."</br>";
			echo "<h5>".$noticia->fecha."</h5></p></br>";
			echo "</div>";
		}
		?>

	
	<img class="img_footer" src="./img/tropas/troglodita.png" style="width: 200px; float:right;-moz-transform: scaleX(-1);-o-transform: scaleX(-1);-webkit-transform: scaleX(-1);transform: scaleX(-1);filter: FlipH;-ms-filter: "FlipH";">
	<div id="footer_menu">
		<ul>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=1"><span class="footer_li">Inicio</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=2"><span class="footer_li">Construir</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=3"><span class="footer_li">Cuartel</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=4"><span class="footer_li">Atacar</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=5"><span class="footer_li">Buz&oacute;n</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=6"><span class="footer_li">Ranking</span></a></li>
			<li><span class="footer_adorno">//</span><a href="./main.php?page=7"><span class="footer_li">Admin</span></a></li>
		</ul>
	</div>

	<div style="clear:both;"></div>
</div>

